<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <base href="<%=basePath%>"/>
    <title>修改关键字资料</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>
	<style type="text/css">
		#upCusForm label.error{font-size:12px;color:red;}
		</style>
		
    <link id="editCss" rel="stylesheet" type="text/css" href="<%=path %>/css/style.css" />
    <link id="editCss" rel="stylesheet" type="text/css" href="<%=path%>/css/right.css" />
   	<script src="<%=path%>/js/jquery.js" type="text/javascript"></script>
		<script src="<%=path%>/js/jquery.validate.js" type="text/javascript"></script>
    
  <!-- validate begin  -->
	<script type="text/javascript">
	  $( jQuery.validator.addMethod("zip", function(value, element) { var tel = /^[0-9]{6}$/;  return this.optional(element) || (tel.test(value)); }, "请正确填写邮政编码"));
	
    $(
         function(){
               $('#upCusForm').validate({
             rules:{ type: {
                             required:true,
                             minlength:3,
                             maxlength:30,
                             onkeyup:false
                          }
                    },messages:{
                                  contactName:{ required:"请填写类型!" ,maxlength:"太长",minlength:"太短"},
                           },
                             submitHandler: function(form) { 
                        		     form.submit();
                               }
                    }); });	
	</script><!-- validate end  -->
  </head>
  
<body class="bg">

<div id="nav" class="crumbs">
	当前位置：<a href="<%=path %>/zebra/monitor/keyword/monitorKeywordAction" class="title">关键字管理</a> 修改类别资料
</div>

<div class="search ctitle">
	<div class="tab">
		<span class="right"></span>
		<span class="font-blue14pxb">修改关键字资料</span>
    </div>
</div>

<div class="tableBox fwidth">
	<form id="updateForm" method="post" action="<%=path%>/zebra/monitor/keyword/monitorKeywordAction?method=update" >	
	<input type="hidden" name="id" id="id" maxlength="30"  value="${keyword.id }" style="width: 150px;color: #325f86;" />
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
	     <td class="h">关键字</td>
	     <td class="text_left">
	     <input name="text" id="text" maxlength="30" type="text" value="${keyword.text }" style="width: 150px;color: #325f86;"/></td>
	  </tr>
	  <tr>
		<td colspan="2" align="center">
			<input type="submit" name="save" value="修 改" class="button" onmouseover="this.className='button_mouseover'"
 				onmouseout="this.className='button'"/>
		</td>
	  </tr>
	</table>
	</form>
   </div>	
</body>
</html>
